﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;

namespace CoreCms.Net.DTO
{
    /// <summary>
    /// 拼团列表返回
    /// </summary>
    public class PinTuanListDTO
    {
        /// <summary>
        /// 拼团序列
        /// </summary>
        public System.Int32 id { get; set; }

        /// <summary>
        /// 商品序列
        /// </summary>
        public System.Int32 goodsId { get; set; }

        /// <summary>
        /// 拼团排序
        /// </summary>
        public System.Int32 sortId { get; set; }

        /// <summary>
        /// 拼团名称
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// 拼团单数
        /// </summary>
        public System.Int32 pinTuanRecordNums { get; set; }

        /// <summary>
        /// 拼团销量
        /// </summary>
        public System.Int32 buyPinTuanCount { get; set; }

        /// <summary>
        /// 多少人团
        /// </summary>
        public System.Int32 peopleNumber { get; set; }

        /// <summary>
        /// 倒计时
        /// </summary>
        public System.Int32 timestamp { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public System.DateTime startTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public System.DateTime endTime { get; set; }

        /// <summary>
        /// 优惠金额
        /// </summary>
        public System.Decimal discountAmount { get; set; }
        /// <summary>
        /// 每人限购数量
        /// </summary>
        public System.Int32 maxNums { get; set; }
        /// <summary>
        /// 每个商品活动数量
        /// </summary>
        public System.Int32 maxGoodsNums { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public System.Int32 startStatus { get; set; }
        /// <summary>
        /// 商品描述
        /// </summary>
        public string goodBrief { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string goodName { get; set; }
        /// <summary>
        /// 商品缩略图
        /// </summary>
        public string goodThumbnail { get; set; }
        /// <summary>
        /// 商品图集
        /// </summary>
        public string goodImages { get; set; }
        /// <summary>
        /// 商品库存
        /// </summary>
        public int goodStock { get; set; }
        /// <summary>
        /// 商品浏览量
        /// </summary>
        public int goodViewCount { get; set; }
        /// <summary>
        /// 商品单位
        /// </summary>
        public string goodUnit { get; set; }
        /// <summary>
        /// 商品市场价
        /// </summary>
        public decimal mktPrice { get; set; }
        /// <summary>
        /// 拼团价格
        /// </summary>
        public decimal pinTuanPrice { get; set; }
    }
}
